package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Item {
    private Integer id;
    private String name;
    private Integer number;


    public static void main(String[] args) {
        Item item = new Item();
        item.setId(3);
        item.setId(1);
        System.out.println(item.getId());

    }
}
